<?php if($_GET['q'] == 'contact/list'){?>
<style>
        body{
                background-color:#ecf9ff;
        }
        label {
                display: none;
        }

        .login-name {
                margin-bottom: 10px;
        }

        ul {
                list-style: none;
        }
        .user-login-class{
                margin-top: 50px;
                width: 100%;
                background: url(../../images/1.png) no-repeat 230px 20px;
                height: 432px;
                border-top: 2px solid #9f1431;
        }

        .login-div {
                width:300px;
                height:200px;
                padding: 10px;
                margin-top: -1px;
                margin-left: 1px;
                background:rgba(255, 255, 255, 0.7)!important;
                filter:Alpha(opacity=60);
                background:#fff;
                border:1px solid #CCC;
                text-align: left;
        }

        span.go-register {
                float: right;
                font-size: 14px;
                margin-right: 10px;
                font-weight: normal;
        }
        .go-register a{
                color: cornflowerblue;
        }

        .login-name input, .login-pass input {
                width: 235px;
                margin-left: 0;
                border-radius: 0px;
                height: 40px;
                padding: 0;
                border:1px solid #CCC
        }

        .forget-pass {
                float: left;
                width: 90px;
                margin-top: 20px;
                margin-left: 15px;
        }
        .forget-pass a {
                color: #666;
                text-decoration: none;
                font-size: 14px;
        }

        .login-for-qq {
                float: right;
                margin-right: 15px;
        }
        .login-name,.login-pass,.login-submit{
                margin-left: 15px;
        }
        .login-submit input {
                width: 250px;
                margin-top: -5px;
                margin-left: 5px;
                background-color: #387ef5 !important;
                text-shadow: none;
                height: 35px;
                border-radius: 5px;
                border: 0px;
                color: #FFF;
        }

        img.login-name-img,.login-pass-img{
                float: left;
        }

        .login-div .description,
        .enhanced th,
        .enhanced td {
                display: none;
        }
        .big-login-div {
                text-align: center;
                margin-top: 15%;
        }
        .big-login-div .login-div{
                margin-left: auto;
                margin-right: auto;
        }
</style>
<div class="big-login-div">
<img src="<?php echo base_path() ?>sites/all/themes/tweme/images/images/small-login.png" class="small-login">
<?php } ?>
<div class="login-div">
        <div class="login-form">
                <?php if($_GET['q'] == 'user/login'){?><h4 style="padding-left:10px; padding-bottom:10px; color: #999; width: 290px; border-bottom: 1px dashed #999;  ">会员登录<span class="go-register">还没有账户？<a href="<?php echo base_path();?>account/register">去注册</a></span></h4><?php } ?>
                <div class="login-name"><img class="login-name-img" src="<?php echo base_path();?>sites/all/themes/tweme/images/login-name.jpg"><?php print render($form['name']); ?></div>
                <div class="login-pass"><img class="login-pass-img" src="<?php echo base_path();?>sites/all/themes/tweme/images/login-pass.jpg"><?php print render($form['pass']); ?></div>
                <div class="forget-pass"><?php print render($form['forgetpass']); ?></div>
                <div class="login-for-qq"><?php print render($form['submitted']); ?></div>
                <div class="login-submit"><?php print render($form['actions']); ?></div>
        </div>
</div>
<?php if($_GET['q'] == 'contact/list'){?>
        </div>
<?php }?>
<?php print drupal_render_children($form); ?>

